<template>
  <div class="hello">
    <h1>{{ msg }}</h1>
    <hr/>
    <!-- <h2>{{msg2}}</h2> -->
    <h1>
      <router-link to="hello">hello</router-link>
    </h1>
    <!-- 这里router-link to="newcontact"会把路由导航到http://localhost:8080/#/contact   -->
    <router-link to="contact">
      <h1>{{ contact }}</h1>
    </router-link>
    <h1>
      <router-link to="login">登录</router-link>
    </h1>
    <h1>
      <router-link to="web">网站主页</router-link>
    </h1>
    <!-- <el-progress type="circle" :percentage="0"></el-progress>
    <el-progress type="circle" :percentage="25"></el-progress>
    <el-progress type="circle" :percentage="100" status="success"></el-progress>
    <el-progress type="circle" :percentage="50" status="exception"></el-progress> -->
  </div>
</template>

<script>
  export default {
    name: 'HelloWorld',
    data() {
      return {
        msg: 'Welcome to V',
        msg2: 'TOP',
        contact: 'New Contact'
      }
    }
  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
  h1,
  h2 {
    font-weight: normal;
  }

  ul {
    list-style-type: none;
    padding: 0;
  }

  li {
    display: inline-block;
    margin: 0 10px;
  }

  a {
    color: #42b983;
  }
</style>